package com.ysu.his.admin.service;

import com.github.pagehelper.PageInfo;
import com.ysu.his.dto.UserDto;
import com.ysu.his.entity.user.User;
import com.ysu.his.vo.UserVo;

import java.util.List;

public interface UserService
{
    PageInfo<UserVo> getUserByPage(Integer page, Integer limit, UserDto userDto);

    void addUser(User user);

    void updateUserInfo(User user);

    User getUserInfoById(Long id);

    void startOrStop(Long userId, Integer status);

    void deleteUserById(Long id);

    List<User> getAllAvailableDoctor();

    List<User> getAllAvailableDoctorScheduling();

    List<User> getDoctorByDepartmentId(Long departmentId);

}
